//
//  pickerCollectionViewCell.h
//  photoLibrayIos8
//
//  Created by jing zhao on 4/22/16.
//  Copyright © 2016 jing zhao. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <Photos/Photos.h>
#import "PickerHeader.h"

@protocol DelegatePickerCollectionViewCell <NSObject>

-(void)delegateSelectPickerCollectionViewCell:(NSObject*)object;
-(void)delegateAllSelectPickerCollectionViewCell:(NSObject*)object;

@end

@interface PickerCollectionViewCell : UICollectionViewCell

@property (weak, nonatomic) IBOutlet UIView *viewOpacity;
@property( weak , nonatomic ) IBOutlet UIButton *buttonImage;
@property( weak , nonatomic ) IBOutlet UIButton *buttonSelect;
@property( strong , nonatomic ) NSDictionary *dicData;
@property( assign , nonatomic ) NSIndexPath *indexPath;

-(void)configureDataDictionary:(NSDictionary*)dic andDelegate:(id<DelegatePickerCollectionViewCell>)delete andIndexPath:(NSIndexPath*)indexPath;

@end

